import java.util.List;

public class Test {
	public static void main(String[] args) {
		Library l = new Library();
		//l.addBook(new Book("MYTEST","MYTEST",Book.Status.takenForHome), 3);
		List<Book> books = Store.getBooks(3);
		for (Book book : books) {
			l.addBook(book);
			l.addBook(book);
		}
		LibraryStaff staff1 = new LibraryStaff("Ivan", l);
		LibraryStaff staff2 = new LibraryStaff("Petyr", l);
		Reader r1 = new Reader(l,"Stoqn");
		Reader r2 = new Reader(l,"NIKIDIMI");
		Reader r3 = new Reader(l,"RUJI");
		Reader r4 = new Reader(l,"Kosio");
		new Thread(staff1).start();
		new Thread(staff2).start();
		new Thread(r1).start();
		new Thread(r2).start();
		new Thread(r3).start();
		new Thread(r4).start();
		
	}
}
